<template>
	<view class="preview-container">
		<view v-for="(img, index) in images" :key="index" class="preview-item">
			<img :src="img" class="preview-image" />
		</view>
	</view>
</template>

<script>
	export default {
		props: {
			images: {
				type: Array,
				default: () => []
			}
		}
	}
</script>

<style scoped>
	.preview-container {
		text-align: center;
		margin: 10px 0;
	}

	.preview-item {
		display: inline-block;
		margin: 5px;
	}

	.preview-image {
		max-width: 100px;
		max-height: 100px;
		border-radius: 10px;
	}
</style>